package com.lc.yygh.order.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.lc.YYGH.vo.order.OrderCountQueryVo;
import com.lc.YYGH.vo.order.OrderInfo;
import com.lc.YYGH.vo.order.OrderQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.Map;

public interface OrderInfoService extends IService<OrderInfo> {
    //生成订单，插入到数据库里面去
    Long saveOrder(String scheduleId,Long patientId);

    void patientTips();
    Map<String,Object> getOrderCountMap(OrderCountQueryVo orderCountQueryVo);

    //根据id查询订单
    OrderInfo getById(Long id);

    IPage<OrderInfo> selectPage(Page<OrderInfo> pageParam, OrderQueryVo orderQueryVo);


}
